<?php
$result = array(
    'GET'  => $route->restfulParams,
    'POST' => $route->bodyParams
);

$response->responseData(true, $result);
?>